-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A collection of small fixes #623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asking for two more favors. Other then that LGTM.
resources = ["*"] | ||
} | ||
} | ||
|
||
resource "aws_appautoscaling_target" "dynamodb_table_read_target" { | ||
count = "${var.autoscale ? 1 : 0}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also help remove this line and autoscale
variable? Because deleting custom static IAM role, it implies the autoscaling is enable all the time and can not be disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is another line below should be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, thanks!
@@ -13,6 +13,7 @@ | |||
See the License for the specific language governing permissions and | |||
limitations under the License. | |||
""" | |||
from __future__ import absolute_import # Suppresses RuntimeWarning import error in Lambda |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Magic! 💥
to: @chunyong-lin
cc: @airbnb/streamalert-maintainers
size: small|medium|large
resolves: #267
resolves: #572
Background
A collection of small fixes and features that I've accumulated
Changes
terraform fmt
to fix a spacing issue which snuck inthird_party_libraries
config option is generally only applicable to the rule processor, where users can specify additional libraries to install for their rules to work. To reduce confusion, this config option has been removed from the other default lambda configs (although it will still work for other functions if it is defined).I have no idea why it works, but I found this solution in the PyCharm blog
Testing
terraform validate